package com.simple.question;

import java.io.Serializable;
import java.util.Date;

public class Edition extends QueryObject implements Serializable, OptionKeyValue {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 隐藏   */
	public static final int HIDDEN = 1;
	
	/** 不隐藏 (显示)  */
	public static final int NOT_HIDDEN = 0;
	
	/** 知识点:通用版  */
	public static final String KPOINT_EIDTION_COMMON = "通用版";
	
	private int id;
	
	private String name;
	
	/** 是否隐藏 0:不隐藏;1:隐藏 */
	private int hidden = 0;
	
	private String dcrp;
	
	private long creator;
	
	private Date crtDate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getHidden() {
		return hidden;
	}

	public void setHidden(int hidden) {
		this.hidden = hidden;
	}

	public String getDcrp() {
		return dcrp;
	}

	public void setDcrp(String dcrp) {
		this.dcrp = dcrp;
	}

	public long getCreator() {
		return creator;
	}

	public void setCreator(long creator) {
		this.creator = creator;
	}

	public Date getCrtDate() {
		return crtDate;
	}

	public void setCrtDate(Date crtDate) {
		this.crtDate = crtDate;
	}

	@Override
	public String name() {
		return this.name;
	}

	@Override
	public int id() {
		return id;
	}
}
